package com.twetec.cms.model.vo.website;

import com.baomidou.mybatisplus.annotation.TableField;
import com.twetec.cms.model.vo.base.BaseVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel
public class SiteClusterServerVO extends BaseVO {

    /**
     * 服务器名称
     */
    @ApiModelProperty(value = "服务器名称", example = "服务器1")
    private String name;

    /**
     * IP地址
     */
    @ApiModelProperty(value = "IP地址", example = "192.168.2.16")
    private String ip;

    /**
     * FTP端口
     */
    @ApiModelProperty(value = "FTP端口", example = "8080")
    private Integer ftpPort;

    /**
     * 站点根目录
     */
    @ApiModelProperty(value = "站点根目录", example = "D:\\Project")
    private String siteRootPath;

    /**
     * 状态，0表示启用，1表示禁用
     */
    @ApiModelProperty(value = "站点状态，0启用，1禁用", example = "0")
    private Integer status;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注", example = "****")
    private String remark;

    /**
     * 创建人
     */
//    @ApiModelProperty(value = "创建人名称", example = "张三")
//    private String creatorName;

    /**
     * 更新人
     */
    @ApiModelProperty(value = "更新人姓名", example = "张三")
    private String modifierName;

    /**
     * 站点id
     * @return
     */
    @ApiModelProperty(value = "站点id", example = "123456789")
    private Long siteId;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public Integer getFtpPort() {
        return ftpPort;
    }

    public void setFtpPort(Integer ftpPort) {
        this.ftpPort = ftpPort;
    }

    public String getSiteRootPath() {
        return siteRootPath;
    }

    public void setSiteRootPath(String siteRootPath) {
        this.siteRootPath = siteRootPath;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

//    public String getCreatorName() {
//        return creatorName;
//    }
//
//    public void setCreatorName(String creatorName) {
//        this.creatorName = creatorName;
//    }


    public String getModifierName() {
        return modifierName;
    }

    public void setModifierName(String modifierName) {
        this.modifierName = modifierName;
    }

    public Long getSiteId() {
        return siteId;
    }

    public void setSiteId(Long siteId) {
        this.siteId = siteId;
    }

    @Override
    public String toString() {
        return "SiteClusterServerVO{" +
                "name='" + name + '\'' +
                ", ip='" + ip + '\'' +
                ", ftpPort=" + ftpPort +
                ", siteRootPath='" + siteRootPath + '\'' +
                ", status=" + status +
                ", remark='" + remark + '\'' +
                ", modifierName='" + modifierName + '\'' +
                ", siteId=" + siteId +
                '}';
    }
}
